package com.antdesignbackend.backend.warn.warning.task;

import com.antdesignbackend.backend.service.EnterpriseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class WarningTask {

    private final EnterpriseService enterpriseService;

    @Autowired
    public WarningTask(EnterpriseService enterpriseService) {
        this.enterpriseService = enterpriseService;
    }

    /**
     * 一个季度调用一次
     */
//    @Scheduled(cron = "0 05 03 ? * *")
    public void getWarning(){
        //
    }
}
